#ifndef PSFStackingAction_h
#define PSFStackingAction_h 1

#include "G4Types.hh"
#include "G4UserStackingAction.hh"

class PSFStackingAction : public G4UserStackingAction
{
public:
  PSFStackingAction() = default;
  ~PSFStackingAction() override = default;

  G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *) override;
  void NewStage() override;
  void PrepareNewEvent() override;

private:
  G4int fPhotonCounter = 0;
};

#endif
